Skip to content

Save children dtypes/length in ZstdBuffersMetadata#8572

Merged
myrrc merged 1 commit into
developfrom
myrrc/zstdbuffers-deser-issue
Jun 24, 2026
Merged

Save children dtypes/length in ZstdBuffersMetadata#8572
myrrc merged 1 commit into
developfrom
myrrc/zstdbuffers-deser-issue

Conversation

@myrrc

@myrrc myrrc commented Jun 24, 2026

Copy link
Copy Markdown
Contributor

Before this change, ZstdBuffers::deserialize set children's dtype
to its own dtype. In ZstdBuffers children belong to inner encodings and
they have their own dtypes. This triggered a deserialization issue.
Add children dtypes and lengths to metadata.

Resolves: #8549

@myrrc myrrc requested a review from a team June 24, 2026 14:42
@myrrc myrrc added the changelog/fix A bug fix label Jun 24, 2026
@myrrc myrrc requested a review from onursatici June 24, 2026 14:42
Signed-off-by: Mikhail Kot <mikhail@spiraldb.com>
@myrrc myrrc force-pushed the myrrc/zstdbuffers-deser-issue branch from 3e06503 to d2fb1e7 Compare June 24, 2026 14:45
@codspeed-hq

codspeed-hq Bot commented Jun 24, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 2 improved benchmarks
❌ 2 regressed benchmarks
✅ 1585 untouched benchmarks
⏩ 4 skipped benchmarks1

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation chunked_varbinview_into_canonical[(1000, 10)] 168.8 µs 205.6 µs -17.87%
Simulation slice_empty_vortex 310 ns 368.3 ns -15.84%
Simulation chunked_varbinview_opt_canonical_into[(1000, 10)] 205.9 µs 169.4 µs +21.54%
Simulation eq_i64_constant 318.6 µs 288.7 µs +10.35%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing myrrc/zstdbuffers-deser-issue (d2fb1e7) with develop (cfdece3)

Open in CodSpeed

Footnotes

  1. 4 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

@myrrc myrrc enabled auto-merge (squash) June 24, 2026 14:54
@myrrc myrrc merged commit e2478aa into develop Jun 24, 2026
69 of 70 checks passed
@myrrc myrrc deleted the myrrc/zstdbuffers-deser-issue branch June 24, 2026 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/fix A bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TPC-DS Q4 decompression failure with ZstdBuffers

2 participants